//
//  TablePrinterDataSource.h
//  Objective-C
//
//  Created by 林世木 on 11-11-10.
//  Copyright (c) 2011年 lsray. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol TablePrinterDataSource <NSObject>

@required
- (NSString*) stringForRowAtIndex:(int) index;  //告诉TablePrinter表格中的行号
- (int) numberOfRowsInTable;   //为请求的索引提供数据(NSString)

@optional
- (NSString*) tableTitle;  //可选标题
- (BOOL) printLineNumbers;  

@end
